package com.hailian.fintech.hlfinanceserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wk
 * @since 2020-05-23
 */
@Data
@Accessors(chain = true)
@TableName("hl_paytype")
public class Paytype extends Model<Paytype> {

    private static final long serialVersionUID = 1L;

    /**
     * 支付方式表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 支付方式
     */
    private String name;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
